/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package CSISL4pk;

/**
 *
 * @author CSI Salt Lake
 */
import javax.swing.UIManager.*;
import javax.swing.*;
import javax.swing.JFrame;

import java.awt.event.*;

/*
 * InternalFrameDemo.java requires:
 *   MyInternalFrame.java
 */
public abstract class CSI_SL4 implements ActionListener {


    /**
     * Create the GUI and show it.  For thread safety,
     * this method should be invoked from the
     * event-dispatching thread.
     */
    
    // To make thread safe
    public static void Run(){
        JFrame.setDefaultLookAndFeelDecorated(true);
        try {
            for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (Exception e) {
            // If Nimbus is not available, you can set the GUI to another look and feel.
        }
        //Create and set up the window.
        CSI_GUI frame = new CSI_GUI();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.desktop.getContainerListeners();
        
        //Display the window.
        frame.setVisible(true);
    }
    
    public static void main(String[] args) {
        //Make sure we have a thread safe build
        Run();
    }
   
  }


//public class CSI_SL4 {
//
//    /**
//     * @param args the command line arguments
//     */
//    public static void main(String[] args) {
//        // TODO code application logic here
//        CSI_GUI app = new CSI_GUI();
//        app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//        app.setSize(850, 620);
//        //app.setVisible(true);
//        app.setResizable(false);
////        
//        //app.createAndShowGUI();
//    }
//}
